package com.zhuoshi.one;

import java.util.List;

import redis.clients.jedis.Jedis;

public class Hello {
	public String say(String name){
		return "hello "+ name;
	}
	
	
	public static void main(String[] args) {
		Jedis j =new Jedis("localhost",8000);
		j.auth("zhuoshi");
		
		//String 类型
		j.set("aa", "bb");
		//list 类型
		List<String> list = j.lrange("stu", 0, -1);
		System.out.println(list);
	}
}
